module.exports = {
  title: '大屏文档', // 设置网站标题
  // title: '文档',
  // base: '/vuePressDos/',   // github
  base: '/',  //阿里云服务器
  description: '大屏项目的文档', //描述
  dest: './dist',   // 设置输出目录
  host: '127.0.0.1',
  port: 2333, //端口

  themeConfig: { //主题配置
    // 添加导航栏
    nav: [
      { text: '主页', link: '/' }, // 导航条
      { text: '配置化框架', link: '/settingfram/' },
      { text: '部署', link: '/deploy/' },
      { text: '后台接口', link: '/sql/' },
      { text: '开发规范', link: '/devSpecification/' },
      {
        text: '地址',
        // 这里是下拉列表展现形式。
        items: [
          { text: '大屏云平台', link: 'http://124.70.158.145:8890' },
        ]
      }
    ],
    // 为以下路由添加侧边栏
    sidebar: {
      '/settingfram/': [
        {
          title: '总体架构',
          collapsable: true,
          children: [
            'guide/total',
            'guide/add',
            'guide/loader'
          ]
        },
        {
          title: '二维',
          collapsable: true,
          children: [
            'two/buzhou/buzhou',
            'two/peizhiwenjian/peizhiwenjian',
            'two/bujufangshi/bujufangshi',
            'two/liucheng/liucheng',
            'two/zidingyizujian/zidingyizujian',
            'two/apizujian/apizujian',
            // 'two/tongyongzujian',
            {
              title: '通用基础组件',
              // path: 'two/tongyongzujian/',
              collapsable: true,
              children: [
                'two/tongyongzujian/biankuang/biankuang',
                'two/tongyongzujian/anniu/anniu',
                'two/tongyongzujian/logo/logo',
                'two/tongyongzujian/titlelogo/titlelogo',
                'two/tongyongzujian/tianqi/tianqi',
                'two/tongyongzujian/shijian/shijian',
                'two/tongyongzujian/gonggao/gonggao',
                'two/tongyongzujian/gongrejindutiao/gongrejindutiao',

                'two/tongyongzujian/chart/chart',
                'two/tongyongzujian/chart/chartguanwanggongremianjihuantu',
                'two/tongyongzujian/chart/chartzhongyaojiancedian',
                'two/tongyongzujian/chart/chart24htianqi',
                'two/tongyongzujian/chart/chart7daytianqi',
                'two/tongyongzujian/chart/chartquanwanggongreliang',
                'two/tongyongzujian/chart/chartreyuan',
                'two/tongyongzujian/chart/chartbushuiliang',
                'two/tongyongzujian/chart/chartgongreliangzhanbi',
                
                'two/tongyongzujian/shujubiaoge/shujubiaoge',
                'two/tongyongzujian/shujubiaoge/shujubiaogereyuan',
                'two/tongyongzujian/shujubiaoge/shujubiaogeguanwang',
                'two/tongyongzujian/shujubiaoge/shujubiaogerelizhan',
                'two/tongyongzujian/shujubiaoge/shujubiaogegaojing',
                
                'two/tongyongzujian/shownum/shownum',
                'two/tongyongzujian/shownumunit/shownum',
                'two/tongyongzujian/shownumobj/shownumjinrijihua',
                'two/tongyongzujian/shownumobj/shownumshishi',
                'two/tongyongzujian/shownumobj/shownumtianshu',
                'two/tongyongzujian/shownumobj/shownumzonghaore',

              ]
            },
            'two/mianban/mianban',
          ]
        },
        {
          title: '三维',
          collapsable: true,
          children: [
            'three/buzhou/buzhou',
            'three/peizhiwenjian/peizhiwenjian',
            'three/liucheng/liucheng',
            'three/changjingchushihua/changjingchushihua',
            'three/3dcard/3dcard',
            'three/3dtilemoxing/3dtilemoxing',
            'three/gltfmoxing/gltfmoxing',
            'three/geojson/geojson',
            'three/gistu/gistu',
            'three/nengxiaotu/nengxiaotu',
          ]
        },
        {
          title: '二维三维关联',
          collapsable: true,
          children: [
            'twothree/twothree'
          ]
        },
        {
          title: '全局变量',
          collapsable: true,
          children: [
            'quanju/quanju'
          ]
        },
        {
          title: '授权码登录',
          collapsable: true,
          children: [
            'shouquanma/shouquanma'
          ]
        },
      ],
      '/deploy/': [
        {
          title: '开始',
          collapsable: false,
          children: [
            'deploy/all',
            'deploy/offline',
            'deploy/siyouhua',
            'deploy/k8s',
          ]
        }
      ],
      '/sql/': [
        {
          title: 'MYSQL',
          collapsable: true,
          children: [
            'mysql/createTableStatute',
            'mysql/indexStatute',
            'mysql/sqlStatement',
            'mysql/orm'
          ]
        }
      ],
      '/devSpecification/': [
        {
          title: '开发规范',
          collapsable: true,
          children: [
            'base/namingStyle',
            'base/codeFormat',
            'base/dateTime',
            'base/controlStatement',
            'base/codeComment',
            'base/order'
          ]
        },
        {
          title: '前后端对接规范',
          collapsable: true,
          children: [
            'interfaceSpecification/apiRequest',
            'interfaceSpecification/apiRespone',
            'interfaceSpecification/apiOther'

          ]
        },
        {
          title: '异常日志',
          collapsable: true,
          children: [
            'err/errCode',
            'err/errProcessing',
            'err/errLog'
          ]
        },
        {
          title: '安全规约',
          collapsable: true,
          children: [
            'safety/securityProtocol',
          ]
        },
        {
          title: '服务器',
          collapsable: true,
          children: [
            'server/config'
          ]
        },
        {
          title: '设计规约',
          collapsable: true,
          children: [
            'designSpecification/designSpecification'
          ]
        },
        {
          title: '专有名词解释',
          collapsable: true,
          children: [
            'properNouns/explanation'
          ]
        },
        {
          title: 'HTML命名规范',
          collapsable: true,
          children: [
            'htmlNameSpecification/htmlNameSpecification'
          ]
        },
      ]
    }
  }
}